<?php
/**
 * @file stardefine.php $
 * @author LinLin (linlin@haibao.com) $
 * @date 2016-1-4 上午11:19:04 $
 * @brief  $明星保密信息(达人)
 */
namespace haibao\cms\model\data\star;

class StarSecret extends \haibao\cms\model\data\Base{
	/**
	 * 明星类型:达人
	 */
	const STAR_TYPE_TALENT = 0;

	/**
	 * 明星类型:明星
	 */
	const STAR_TYPE_CELEBBRITY = 1;

	/**
	 * 类型:设计师
	 */
	const STAR_TYPE_DESIGNER = 2;

	/**
	 * 类型:品牌
	 */
	const STAR_TYPE_BRAND = 3;

	public static $StarType = array(
		self::STAR_TYPE_TALENT=>'达人',
		self::STAR_TYPE_CELEBBRITY=>'明星',
		self::STAR_TYPE_DESIGNER=>'设计师',
		self::STAR_TYPE_BRAND=>'品牌',
	);
    
	/**
	 *达人ID
	 */
	public $StarId;

	/**
	 * 电话
	 */
	public $Phone;

	/**
	 * 微信
	 */
	public $WeChat;


	/**
	 * 地址
	 */
	public $Address;

	/**
	 * 邮箱
	 */
	public $Email;



	public function __construct() {
		parent::__construct();

		$this->intField('StarId', 'StarId',true);
		$this->intField('StarType', 'StarType',true);
		$this->stringField('Phone', 'Phone');
		$this->stringField('WeChat', 'WeChat');
		$this->stringField('Address', 'Address');
		$this->stringField('Email', 'Email');
		$this->intField('Price', 'Price');
		$this->stringField('Summary', 'Summary');
		$this->intField('Score', 'Score');

		$this->setTableName('StarSecret');
	}
}